<template>
  <div class="content">
    <!-- 视频显示区域 -->
    <div class="video-wap">
      <video-label ref="videoLabelComp"></video-label>
    </div>
  </div>
</template>

<script setup lang="ts">
import { onMounted, ref } from "vue";
import * as Store from "@/store";
import Bus from "@/utils/bus";
import VideoLabel from "@/views/videoLabel/videoLabel.vue";
import { createVideoGroup } from "@/api/readPathology/readPathology";
import bus from "@/views/videoLabel/tools/bus";
const FilmRead = Store.useFilmRead();
const videoLabelComp = ref<any>(null);
onMounted(() => {
  // FilmRead.loading = false;
  // testAdd();
});
const testAdd = async () => {
  const params = {
    arId: 259,
    type: "VIDEO_FRAME_SEGMENT",
    info: JSON.stringify({ startFrame: 15, endFrame: 24 }),
  };
  const res = await createVideoGroup(params);
  console.log(res, "追加帧段");
};
</script>

<style lang="less" scoped>
@import url("./content.less");
</style>
